﻿using System.IO;

namespace IGS.Core.Logging
{
    public class Logger : ILogger
    {
        private readonly TextWriter InfoStream;

        public Logger(TextWriter infoStream)
        {
            InfoStream = infoStream;
        }

        public void LogInfo(string format, params object[] parameters)
        {
            InfoStream.WriteLine(format, parameters);
        }
    }
}